How to Disable SELinux on Ubuntu · Step 1: Check the SELinux Status · Step 2: Install SELinux Utilities (If Not Installed) · Step 3: Disable SELinux Temporarily.
Log in as root . · Open the SELinux config file for editing: # cat /etc/selinux/config · Change the line in the file. SELINUX=enforcing. To: SELINUX=disabled.
To manually enable/disable SELinux, edit the file /etc/selinux/config and update the mode attribute from permissive to enforcing or vice versa. What is SELINUX · How to Install SELinux on... · How to Disable SELinux on...